package com.itsu.app.service;

import com.itsu.interfaces.entity.UserEntity;
import com.itsu.interfaces.entity.Users;
import com.itsu.interfaces.service.UsersService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

import java.util.List;

//好友表
@Service
public class AppUsersService {

    @Reference
    UsersService usersService;

    public void addUsers(Users users) {
        usersService.addUsers(users);
    }

    public List<Users> findUsersList(Long userId) {
        return usersService.findUsersList(userId);
    }

}
